<h2>
	<a href="<?php echo $kong_href ?>"><i class="icon-quote-left"></i> <?php echo $kong_name ?></a>
	<small><?php echo $status ?></small>
</h2> 
<div class="text-right gap">
	<div class="btn-group">
		<button class="btn" data-href="<?php echo $href?>/<?php echo $kong_id ?>/category">Category</button>
		<button class="btn btn-primary" data-href="<?php echo $href?>/<?php echo $kong_id ?>/new">New Posting</button>
	</div>
</div>
<hr />
<div class="row">
	<div class="span4">
		
		<table class="table table-striped table-condensed table-hover">
			<thead>
				<tr>
					<th class="span1">n</th>
					<th>Category</th>
					<th class="span1">등록일</th>
				</tr>
			</thead>
			<tbody>
<?php
for ($i = 0; $i < count($rows); $i++) {
?>
				<tr data-href="<?php echo $href?>/<?php echo $kong_id ?>/category/<?php echo urlencode($rows[$i]['idx'])?>">
					<td><?php echo $rows[$i]['idx']?></td>
					<td><?php echo $rows[$i]['subject']?></td>
					<td><?php echo date("y.m.d", $rows[$i]['reg_date'])?></td>
				</tr>
<?php
}
?>
			</tbody>
		</table>
		<div class="pagination"><?php echo $pages ?></div>
		
	</div>
	<div class="span8">
<?php echo $form ?>
	</div>
</div>




